SftTree/NET 2.0

ForeColor Property, ColumnClass Class

Softel vdm, Inc.

Defines the column's default foreground color for cells in the item area that are not selected.

Syntax      ColumnClass Class (Softelvdm.SftTreeNET)

VB   

Public Property ForeColor As Color

C#   

public Color ForeColor { get; set; }

C++   

public: property Color ForeColor {
        Color get();
        void set(Color value);
}

Property Value

The default foreground color for cells in this column or Color.Empty.

The default value is Color.Empty.

Comments

The ForeColor property defines the column's default foreground color for cells in the item area that are not selected.

Items and cells can override the foreground color using the ItemClass.ForeColor and CellBaseClass.ForeColor properties.

If Color.Empty is specified, cells use the default color defined using the control's ForeColor property instead, row headers use the RowHeaders.ForeColor property, column headers use the Headers.ForeColor property and column footers use the Footers.ForeColor property.

Selected cells may use the colors defined using the ForeColorSelected property instead.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com